﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Model
{
    /// <summary>
    /// AccessInfo:实体类(属性说明自动提取数据库字段的描述信息)
    /// </summary>
    [Serializable]
    public partial class AccessInfo
    {
        public AccessInfo()
        { }
        #region Model
        private int _id;
        private int? _roleid = 0;
        private int? _moduleid = 0;
        private int? _accesstype = 0;
        /// <summary>
        /// 权限编号
        /// </summary>
        public int ID
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 角色编号
        /// </summary>
        public int? roleID
        {
            set { _roleid = value; }
            get { return _roleid; }
        }
        /// <summary>
        /// 模块编号
        /// </summary>
        public int? moduleID
        {
            set { _moduleid = value; }
            get { return _moduleid; }
        }
        /// <summary>
        /// 权限类型:0.系统权限 1.模版权限 2.节点权限.3分类权限
        /// </summary>
        public int? accessType
        {
            set { _accesstype = value; }
            get { return _accesstype; }
        }
        #endregion Model

    }
}
